<html>
<!--
https://github.com/bytedance/magic-microservices/blob/main/README-zh_CN.md
一款基于 Web Components 的轻量级的微前端工厂函数
-->
<head>
    <script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
</head>
<body>
<custom-component></custom-component>
<script src="https://unpkg.com/@magic-microservices/magic@latest/dist/index.umd.js"></script>
<script>
      magic('custom-component', System.import('http://localhost:8080/app1.js'));
    </script>
</body>
</html>